Skip to content

Elbarbons/ROCA-attack-on-vulnerability-CVE-2017-15361

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ROCA-attack-on-vulnerability-CVE-2017-15361

This repository contains the thesis developed for my bachelor's degree in Mathematical Engineering at Polytechnic of Turin. It's a script based on python and sage.

The goal of the script is to generate an RSA key, evaluete if it's vulnerable by the ROCA attack and performe the ROCA attack.

Comments in the scripts are in italian.

Folder structure

.                
└── Attacco-ROCA-sulla-vulnerabilita-CVE-2017-15361    # The folder containing this repository
    └──Program
        ├── Main.py                                                # The main file
        ├── Keygen.py                                              # Keygen of the key
        ├── Fingerprinting.py                                      # Fingerprinting of the key
        └── Attack.py                                              # ROCA attack of the key

Usage and libraries needed

To use this program you need to have installed on your machine python3 and sage compatible with python3.

The libraries you need to install on sage and python are: sympy, Cryptodome, math, labmath.

To start the program, open the sage shell and use this command

    #sage -python3 path/to/the/folder/on/your/pc/main.py

Releases

No releases published

Packages

No packages published

Languages